// TOWN DIALOGUE SCRIPT
//    Town 2: Sage's Hut (zanta's domain)

// This is the dialogue for this town.
// You can use states numbered from 1 to 99.

begintalkscript;

variables;

short choice;

// *** Lagoth Zanta ***
begintalknode 1;
	state = -1;
	personality = 206;
	nextstate = 2;
	condition = 1;
	question = "Lagoth Zanta";
	text1 = "A man, who looks vaguely familiar, is waiting by a fire with some friends.";
	text2 = "He grins in your direction _Welcome fools._ he says.";
	text3 = "_I am Lagoth Zanta and I've been waiting a long time for this moment._";
	text4 = "_Give me the staff and I'll let you live._ he says, almost keeping a straight face.";
	text5 = "Lagoth looks slightly bemused by the conversation starting over.";
	text6 = "_How did you get to this point?_ he asks.  _And why are you talking to me?_";
	action = INTRO;
	code =
		set_flag(2, 1, TRUE);
		// set everyone hostile now
		if (get_flag(101, 0) > 16) {
			set_attitude(6, 10);
		}
		else {
			set_attitude(10, 10);
		}
		if (get_flag(101, 0) > 12) {
			set_attitude(7, 10);
		}
		set_attitude(8, 10);
		if (get_flag(101, 0) > 20) {
			set_attitude(9, 10);
		}
		alert_char(1001);
	break;

begintalknode 2;
	state = 2;
	personality = 206;
	nextstate = -1;
	condition = 1;
	question = "I'll keep it thanks.";
	text1 = "_Suit yourself._ he says _I'll get it from your cold dead hands._";
	text2 = "With that, he and his friends attack.";
	action = END_TALK;
